package com.ok.constant;

import lombok.Getter;

/**
 * websoscket 消息类型
 */
@Getter
public enum WsMsgTypeEnum {
    heartbeat("0", "心跳"),
    alarm("1", "告警变动"),
    pagePointRDataChange("2", "组态监测点值变动"),
    tablePointRDataChangeEMS("4", "内蒙EMS实时值表格监测点值变动数据"),
    tablePointRDataEMS("5", "内蒙EMS实时值表格监测点值实时数据");

    private final String code;
    private final String title;

    WsMsgTypeEnum(String code, String title) {
        this.code = code;
        this.title = title;
    }
}
